1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Reference | Color


Syntax
Color()

DescriptionThe color commands in NodeBox (see for example, color(), fill(), stroke(), background()) return a Color object. This object has a number of properties to manipulate indivdual color values in different spaces and can be passed to the fill() and stroke() command.
Methods
clr.blend(clr)
clr.copy()
Properties
clr.r
clr.g
clr.b
clr.a
clr.hue
clr.saturation
clr.brightness
clr.c
clr.m
clr.y
clr.

See the tutorial on colors to learn about all the properties.

With the blend() method you can create an in-between of two colors.